package com.fzrskj.cloud.free.core.enums;

/**
 * AliyunTackStatusEnum.
 *
 * @author wzj.
 *         Created on 2019/2/1 0030.
 */
public enum AliyunTackStatusEnum {
    /**
     *  等待执行.
     */
    WAITING_EXECUTE(0),
    /**
     *  执行中.
     */
    EXECUTING(1),
    /**
     * 执行成功.
     */
    EXECUTE_SUCCESS(2),
    /**
     * .失败
     */
    EXECUTE_FAILURE(3);

    /**
     * code.
     */
    private Integer code;

    /**
     * construct.
     * @param type code.
     */
    AliyunTackStatusEnum(Integer type) {
        this.code = type;
    }

    /**
     * getCode.
     * @return code.
     */
    public Integer getCode() {
        return this.code;
    }
}
